﻿using Admin.Core.Common.Input;
using Admin.Core.Common.Output;
using Admin.Core.Common.ParamInput;
using Admin.Core.Service.Quality.Input;
using Admin.Core.Service.Quality.MachineCheck.Input;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace Admin.Core.Service.Quality
{
    public interface IMachineCheckService
    {
        /// <summary>
        /// 获取物料类型
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<IResponseOutput> GetAsync(long id);
        Task<IResponseOutput> UpdateCommitAsync(CheckReportCommitInput input);
        Task<IResponseOutput> GetCommitAsync(long id);
        Task<IResponseOutput> GetCheckHisPageAsync(PageInput<ConmonFilterIdInput> input);
        Task<IResponseOutput> GetOwnerPageAsync(PageInput<ConmonFilterInput> input);
        Task<IResponseOutput> PageAsync(PageInput<MachineCheckFilterInput> input);

        Task<IResponseOutput> AddAsync(MachineCheckAddInput input);

        Task<IResponseOutput> UpdateAsync(MachineCheckUpdateInput input);

        Task<IResponseOutput> SoftDeleteAsync(long id);
    }
}
